import { defineStore } from "pinia";
export const useUserStore = defineStore({
  id: "user",
  state: () => {
    return {
     
    };
  },
  actions: {
   
  },
  // 开启数据缓存
  persist: {
    enabled: true,
    strategies: [
      {
        key: "mykey",
        storage:sessionStorage
      },
    ],
  },
});
